import React from 'react'
import "./ConfirmBtn.css"

const ConfirmBtn = props => {
    const {
        btnActive,
    } = props

    const cls = btnActive ? 'confirm-btn-active' : 'confirm-btn'

    return <div
        className={cls}
        onClick={props.onClick}
    >
        <span>
            {props.children}
        </span>
    </div>
}

export default ConfirmBtn
